
<script type="text/javascript" src="js/emp/mac/list.js?r={[$smarty.now]}"></script>

<fieldset>
<legend>查找结果 - 网络信息</legend>
<form name="form" method="post" action="{[$root]}{[$deleteLink]}{[$p1]}{[$p3]}">
<table>
   <tr align="center">
     <th width="40">序号</th>
	 <th>员工</th>

	 <th></th>

	 <th>硬件地址</th>
	 <th>IP地址</th>
	 <th>权限</th>
	 <th>备注</th>

	 <th>创建时间</th>
     <th width="40">操作</th>
   </tr>
   {[foreach name=outer key=key item=item from=$result]}
   {[assign var="no" value="`$key+$pager->from+1`"]}
   <tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
     <td>{[$no]}</td>
     <td>{[$item.emp_t]}</td>

	 <td><a href="javascript:void(0)" onclick="b1(event, '{[$root]}{[$editLink]}{[$p1]}{[$p2]}&id={[$item.id]}&p={[$p]}')">[管理]</a></td>

	 <td>{[$item.mac]}</td>
	 <td>{[$item.ip]}</td>
	 <td>{[$item.out_t]}</td>
	 <td>{[$item.content|truncate:20:"...":true]}</td>

	 <td>{[$item.createtime]}</td>
     <td><input type="checkbox" class="check" name="c_{[$item.id]}" value="{[$item.id]}"></td>
  </tr>
  {[/foreach]}
  <tr align="center">
     <td colspan="7"></td>
     <td>全部</td>
     <td><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></td>
  </tr>
  <tr>
     <td colspan="8"> <a href="emp_.php?do=Mac.dhcpd&conf=ns" target="_blank" style="color:blue">南山</a> 
	 <a href="emp_.php?do=Mac.dhcpd&conf=sj" target="_blank" style="color:blue">沙井</a></td>
     <td align="center"><input type="button" name="delete" value="删除" onclick="expunge(this.form)"></td>
  </tr>
</table>
</form>
</fieldset>

{[include file="footer.tpl"]}
